package com.anolesoft.yr.store.stk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * 入库流水
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "stk_in_list_flow")
public class StkInListFlow implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "OBJUID", type = IdType.AUTO)
    private String objuid;

    /**
     * 库存表主键
     */
    @TableField(value = "stk_store_uid")
    private String stkStoreUid;

    /**
     * 出入库方式表主键
     */
    @TableField(value = "stk_in_list_uid")
    private String stkInListUid;

    /**
     * 入库状态
     */
    @TableField(value = "`state`")
    private Byte state;

    /**
     * 入库人
     */
    @TableField(value = "in_user_uid")
    private String inUserUid;

    /**
     * 入库时间
     */
    @TableField(value = "in_time")
    private Date inTime;

    /**
     * 入库价格
     */
    @TableField(value = "price")
    private Long price;

    /**
     * 目标仓库
     */
    @TableField(value = "stk_main_uid")
    private String stkMainUid;

    /**
     * 实际入库库位
     */
    @TableField(value = "stk_location_uid")
    private String stkLocationUid;

    /**
     * 删除标志
     */
    @TableField(value = "del_flag")
    private Byte delFlag;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    private static final long serialVersionUID = 1L;
}